[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
odyfontsize, footerdistance=\bodyfontsize] \definehighlight [sesamedot] %\showframe %\showgrid %\showboxes %\showmakeup % [glyph,fontkern] \starttext \starttitle [title={ごん狐}] [author={新美南吉},source={https://www.aozora.gr.jp/cards/000121/files/628_14895.html}] \startsubject [title={一}] これは、\ruby

[NTG-context] Re: An strange error with section and page

2023-08-22 Thread Wolfgang Schuster
=no] \starttext \startsection[title=Section] \startsubject [title=Subject] \stopsubject \stopsection \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] Enable interaction on custom apa cite variant

2023-08-19 Thread Jethro Djan
=normal, number=no, ] \starttext \startdefinition{\cite[righttext={{ p.\nbsp 1}}, alternative=theorem][burago2022course]} This is something \stopdefinition \startsubject[title={References}] \placelistofpublications \startsubject \stoptext The problem with this is that the citation

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
= > > We added the tex of the pdf below > > == extract from roadmap == > > \usemodule[article-basic,abbreviations-logos] > > \setupbodyfont[concrete] > > \starttext > > \startsubject[title=Math in \CONTEXT\ roadmap] > > \startitemize[n]

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
is still experimental and can have issues that we're looking at but hard > to nail down (huge complex cross-referencing documents). More about that > later. > > == > > We added the tex of the pdf below > > == extract from roadmap

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
dmap == \usemodule[article-basic,abbreviations-logos] \setupbodyfont[concrete] \starttext \startsubject[title=Math in \CONTEXT\ roadmap] \startitemize[n] \startitem After playing with math support for more than a year, we have come to the conclusion that it is time to move on. We have alr

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
inefloat[Bfigure][Bfigures][figures] >> >> \setuphead >> [part] >> [placehead=yes, >> page=yes] >> >> \setuphead >> [chapter] >> [page=no] >> >> \starttext >> >> \starttitle[title=

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
> [placehead=yes, >page=yes] > > \setuphead > [chapter] > [page=no] > > \starttext > > \starttitle[title=List of figures] > \startsubject[title=Figures (predefined figureenvironment)] > \placelistoffigures > \stopsubject > > \startsub

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
=yes] \setuphead [chapter] [page=no] \starttext \starttitle[title=List of figures] \startsubject[title=Figures (predefined figureenvironment)] \placelistoffigures \stopsubject \startsubject[title=Figures A] \placelistofAfigures \stopsubject \startsubject

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
onsider the following example: >>>> \starttext >>>> \starttitle[title=Contents] >>>> \placelist[chapter][criterium=all] >>>> \stoptitle >>>> \startchapter[title=Mychapter] >>>> \input knuth >>>> \startsubject[

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC] \writetolist[chapter]{1}{I am in TOC!} \input ward \stopsubject \stopchapter \stoptext According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
terium=all] >> \stoptitle >> \startchapter[title=Mychapter] >> \input knuth >> \startsubject[title=Subject will be in TOC] >> \writetolist[chapter]{1}{I am in TOC!} >> \input ward >> \stopsubject >> \stopchapter >> \stoptext >

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
knuth \startsubject[title=Subject will be in TOC] \writetolist[chapter]{1}{I am in TOC!} \input ward \stopsubject \stopchapter \stoptext According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height of the chapter-numbering and is not carrying

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Willi \setuplist[figures][pageprefixsegments=part:chapter] % Pageprefix? \setuphead[part][placehead=yes] \starttext \startpart[title=part one] \starttitle[title=Contents] \placelist[part,chapter][criterium=all] \startsubject[title=Figures] \placelistoffigures[criterium=all

[NTG-context] \writetolist not writing the number to the TOC

2023-03-25 Thread Willi Egger via ntg-context
Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
end end } \stoptexdefinition \starttext \LoadSectionsA{crap}{chapter:3} \LoadSectionsB{crap}{chapter:2} \stoptext \starttext \dorecurse{10}{ \startchapter[title=Chapter #1,reference=chapter:#1] \dorecurse{10}{ \startsubject[title=S

Re: [NTG-context] filling buffers in cld documents

2022-11-27 Thread Hans Hagen via ntg-context
xlua {userdata.Critere ("structure","NoteStructure",2)} \stopxcell   \stopxrow    \stopxtable    \stopbuffer    \stopenvironment * The main file is divided in subjects, each one of them being the feedback to one pupil. In a MWE fashion    \useenv

[NTG-context] filling buffers in cld documents

2022-11-27 Thread damien thiriet via ntg-context
,2)} \stopxcell \stopxrow \stopxtable \stopbuffer \stopenvironment * The main file is divided in subjects, each one of them being the feedback to one pupil. In a MWE fashion \useenvironment [env_corrige] \starttext \startsubject[title={Astérix}] \startluacode El

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-11 Thread Joey McCollum via ntg-context
thor1:2016]\blank \cite[Author2:2015]\blank \page \startsubject[title=Abbreviations] \placelistofabbreviations \stopsubject \page \startsubject[title=Bibliography] \placelistofpublications \stopsubject \stoptext ``` Joey On Fri, Oct 8, 2021 at 7:38 AM Hans Hagen wrote: > On 10/7/2021 6:38 AM, Joey

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
all combinations (todo) % % % % % \def\APLnot #1{\wasy@over{\sim }{#1}} % % \def\APLcirc#1{\wasy@over{\circ}{#1}} % % \def\APLvert#1{\wasy@over{\vert}{#1}} % % % % \stopsymbolset \protect \continueifinputfile{symb-imp-was.mkiv} \usemodule[article-basic] \starttext \starttitle[title=Regular] \st

[NTG-context] dictionary example

2021-06-12 Thread jbf
] \starttext \startsubject[title={A}] \startsubsubject[marking={Term 1}] \startcolumns \startdes{term 1}1. bla. 2. bla bla 3. bla bla bla. {\em adjective}. \textbullet\hskip 2pt \input weisman \rightarrow {\bf something else}. \stopdes \stopsubsubject \startsubsubject[marking={Term 2}] \startdes

Re: [NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
\stopfootnote{} \input ward \startfootnote \input ward \stopfootnote{} \stopsection \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward \startfootnote \input ward \stopfootnote{} \stopsection \startsubject[title={},reference={}] \placenotes [footnote

[NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
\startfootnote \input ward \stopfootnote{} \stopsection \startsubject[title={},reference={}] \placenotes [footnote] \stopsubject \stoptext What's the best way to convert the above to endnotes? Thank you in advance! Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State

Re: [NTG-context] Genealogy and context

2021-03-03 Thread Hans Hagen
\NC \xmlfirst{#1}{name/surname/text()} \NC \NR \BC gender \NC \xmlfirst{#1}{gender} \NC \NR \stoptabulate \stopxmlsetups \startxmlsetups xml:childref % \startsubsubject[title=Child] \xmlfirst{main}{/database/people/person[@handle='\xmlatt{#1}{hlink}']} % \stopsubsubject \stopxmlsetups \s

[NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Damien Thiriet
Hi, \setuphead[subject] [page={yes,right}] \starttext \startsubject[title=test 1] \input ward \stopsubject \startsubject[title=test 2] \input ward \stopsubject \stoptext makes the job on ConTeXt online, but doesn't with my lmtx version. Did the syntax change in lmtx? Best regards

[NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Damien Thiriet
Hi, The following MWE does not give the output I expect, that is subject starting on page 1 and 3. What did I miss? \setuphead[subject] [page=right] \starttext \startsubject[title=test 1] \input ward \stopsubject \startsubject[title=test 2] \input ward \stopsubject \stoptext Damien Thiriet

[NTG-context] Wrong counting of lines and paragraphs

2020-08-07 Thread Marcus Vinicius Mesquita
[waltham]\par} \startsubject[title={Waltham}] \dorecurse{5}{\getbuffer[waltham]\par} \startsubsubject[title={Waltham}] \dorecurse{5}{\getbuffer[waltham]\par} \startsubsubsubject[title={Waltham}] \dorecurse{2}{\getbuffer[waltham]\par} \stopsubsubsubject \stopsubsubject \stopsubject \stoptitle

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
for ConTeXt's community to use it as a "new" or an "updated" french interface, I may try to produce a 40~50 pages documentation for the basics commands (during 2020 S2): • \starttext • \startchapter, \startsection, \starttitle, \startsubject, \setuphead, \completecont

[NTG-context] unwanted vertical spaces after sectionhead in column layout

2020-05-02 Thread Damien Thiriet
Hello list, Looks like lmtx adds extra vertical space after heads. Compare those two MWE: \setuppapersize [S4] \setuphead [subject] [after={}] \starttext \startsubject[title={blabla}] \input knuth \stopsubject \stoptext \setuppapersize [S4] \setuphead [subject] [after={}] \starttext

Re: [NTG-context] \placenamedfloat and \setuphead[aftersection=...] broken?

2020-04-03 Thread Benjamin Buchmuller
- >> Also an example from the Wiki: >> \startsetups >> chapter:after >> \ifcase\rawcountervalue[footnote]\relax >> \or >> \startsubject[title=Footnote] >> \placefootnotes >> \sto

Re: [NTG-context] \placenamedfloat and \setuphead[aftersection=...] broken?

2020-04-02 Thread Wolfgang Schuster
Also an example from the Wiki: \startsetups chapter:after \ifcase\rawcountervalue[footnote]\relax \or \startsubject[title=Footnote] \placefootnotes \stopsubject \else \startsubject[title=Footnotes

[NTG-context] \placenamedfloat and \setuphead[aftersection=...] broken?

2020-04-02 Thread Benjamin Buchmuller
of each chapter Also an example from the Wiki: \startsetups chapter:after \ifcase\rawcountervalue[footnote]\relax \or \startsubject[title=Footnote] \placefootnotes \stopsubject \else

Re: [NTG-context] reference a paragraph

2020-03-25 Thread Wolfgang Schuster
Alan Braslau schrieb am 25.03.2020 um 15:09: Hello, One creates references for structure elements as, for example, \startsubject [reference=sub:mysubject] ... \stopsubject and then can refer to these using, e.g. \on{page} [sub:subject] How might one reference a *paragraph

[NTG-context] reference a paragraph

2020-03-25 Thread Alan Braslau
Hello, One creates references for structure elements as, for example, \startsubject [reference=sub:mysubject] ... \stopsubject and then can refer to these using, e.g. \on{page} [sub:subject] How might one reference a *paragraph*, for example? Parallel syntax might suggest \startparagraph

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
footer=0.5in, >> bottom=0.25in, >> backspace=1.1in] >> \definepapersize [octavo] >> [width=6in, >> height=9in] >> \setuppagenumbering [location=] >> \set

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
=] \setuppapersize  [octavo] \setupbodyfont   [Termes,10pt] \starttext \starttitle  [title={N aa aaa }] \startsubject    [title={B}]   Faaa aaa {\em Naa Yaaa T} aa C 22, 9990 (   999): \startnarrow [MidOneEm

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
[octavo] [width=6in,   height=9in] \setuppagenumbering  [location=] \setuppapersize  [octavo] \setupbodyfont   [Termes,10pt] \starttext \starttitle  [title={N aa aaa }] \startsubject    [title={B

Re: [NTG-context] Formatting in the toc

2019-11-04 Thread Henning Hraban Ramm
I’d suggest to use something like (untested) \startsubject[title={The Lord’s my Shepherd}][biblepart={Hymn 387}] and \setuphead[subject][command=\MyBibleSection] \define[2]\MyBibleSection{{\bf #1}\hfill{\it\structureuservariable{biblepart}}} You’d need to setup your ToC useing

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
ddsym[t][t][unit={\sunit{second}}, description={Time}, group={latin}] } % Print the List of Symbols with \placelistofsymbols \def\placelistofsymbols{\loadsymbols\ctxlua{userdata.placelistofsymbols()}} \starttext \startfrontmatter \startsubject[title=Content] \placecontent \stopsubject \starts

[NTG-context] Fwd: How to cite online websites (reloaded)

2018-09-02 Thread Lars
I am playing with this right now, but it's contra-automative :-P: \define[1]\LINK{\[\in[#1]\]} \setupinteraction[state=start] \starttext   \startbodymatter     \startchapter[title={Chapter Ej},marking={}]   \startsubject[title={Warnunk},marking={}]     Zitat hier: \LINK{libA

Re: [NTG-context] Modifying bibliography entries using lua

2018-07-24 Thread Stanislav Sokolenko
ter{separator:juniors}\currentbtxjuniors\fi\fi\endgroup\fastsetup{btx:list:author:others}\stopsetups\starttextCitations: \cite[solo]\cite[co]\startsubject[title=Bibliography]\placelistofpublications[ref][method=dataset]\stopsection\stoptext| Cheers, Stan _

Re: [NTG-context] Modifying bibliography entries using lua

2018-07-23 Thread Hans Hagen
xdefinition \startsetups btx:default:list:article     \texdefinition{btx:customauthor}     \texdefinition{btx:default:title}     \texdefinition{btx:default:journal}     \texdefinition{btx:default:year}     \removeunwantedspaces     \removepunctuation     \btxperiod \stopsetups \starttext Citati

[NTG-context] Modifying bibliography entries using lua

2018-07-23 Thread Stanislav Sokolenko
    \removepunctuation     \btxperiod \stopsetups \starttext Citations: \cite[solo] \startsubject[title=Bibliography] \placelistofpublications[ref][method=dataset] \stopsection \stoptext ___ If your question

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
}] new page \page \stopsection \startsection[title={Section Two},reference={}] new page \page \stopsection \startsubject[title={Subject},reference={}] \stopsubject \stoptext == -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
\page \stopsection \startsection[title={Section Two},reference={}] new page \page \stopsection \startsubject[title={Subject},reference={}] \stopsubject \stoptext == ___ If your question is of interest to

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
edlist[content] [list={subject,section,subsection,subsubsection}] \placecontent \stop \stoptitle \page \startsection[title={Section One},reference={}] new page \page \stopsection \startsection[title={Section Two},reference={}] new page \page \stopsection \startsubject[title={Subject},ref

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
\startsection[title={Section Two},reference={}] new page \page \stopsection \startsubject[title={Subject},reference={}] \stopsubject % \stoptext % \starttext % Approach I % \starttitle[title={Table of Contents},reference={}] % \start % \setupcombinedlist[{subject,section,subsection,subsubsection

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
},reference={}] new page \page \stopsection \startsection[title={Section Two},reference={}] new page \page \stopsection \startsubject[title={Subject},reference={}] \stopsubject % \stoptext % \starttext % Approach I % \starttitle[title={Table of Contents},reference={}] % \start

Re: [NTG-context] Presentation sections identified by color and mark

2018-02-04 Thread Hans Hagen
ext]   [background={PageShape}] \starttext \setupdocument[title={Title},location={Place}] \startdocument   \definecolor[BackgroundColor][r=0,g=.7,b=0]   \startTopic[title={Topic Green}]     Some text A     \startSubject[title={Some green 1}]   more text B     \stopSubject     \st

[NTG-context] Presentation sections identified by color and mark

2018-02-03 Thread jmmora
olor contrastcolor ; fi ; StopPage ; \stopuseMPgraphic \setupbackgrounds [text] [background={PageShape}] \starttext \setupdocument[title={Title},location={Place}] \startdocument \definecolor[BackgroundColor][r=0,g=.7,b=0] \startTopic[title={Topic Green}] Some text A \start

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
end or use \startID ... \stopID     \setupindenting[yes,small]     \definelabel   [ID][     %\defineenumeration[ID][        text=,        after=,        before=,        headcolor=red,        alternative=inright,       ]     \starttext     \starttitle[title={Label testing}]     \startsubject

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
    \setupindenting[yes,small]     \definelabel   [ID][     %\defineenumeration[ID][        text=,        after=,        before=,        headcolor=red,        alternative=inright,       ]     \starttext     \starttitle[title={Label testing}]     \startsubject[title={Problems with \tex{definelabel

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
]     \definelabel   [ID][     %\defineenumeration[ID][        text=,        after=,        before=,        headcolor=red,        alternative=inright,       ]     \starttext     \starttitle[title={Label testing}]     \startsubject[title={Problems with \tex{definelabel}}]       This is a test. It is only a test

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
][    text=,    after=,    before=,    headcolor=red,    alternative=inright,   ] \starttext \starttitle[title={Label testing}] \startsubject[title={Problems with \tex{definelabel}}]   This is a test. It is only a test.   \ID[id1]This paragraph should

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
testing}] \startsubject[title={Problems with \tex{definelabel}}]   This is a test. It is only a test.   \ID[id1]This paragraph should be indented, with an ID number     in the margin. When \tex{ID} is placed at the beginning of the     paragraph, as it is here, the paragraph

[NTG-context] Problem using nested \processcommalist and \startparagraphs columns

2017-10-25 Thread Rik Kabel
%%% problematic     \stoptexdefinition     \starttexdefinition doInner #INNERVALUE \startparagraphscell  %%% problematic         \Outer #INNERVALUE \par \stopparagraphscell   %%% problematic     \stoptexdefinition   \starttext   \startsubject[title={Nes

[NTG-context] How do I insert characters before \par

2017-03-31 Thread Rik Kabel
18. \stoptexdefinition 19. \starttext 20. \startsubject[title={Test of ABC}] 21. \startABC[inset=5em] 22.“Hope” is the thing with feathers\,— 23. That perches in the soul\,— 24. And sings the tune without the words\,— 25. And never

Re: [NTG-context] in next beta

2016-03-10 Thread Procházka Lukáš Ing .
:59 PM, Wolfgang Schuster wrote: Hans Hagen <mailto:pra...@wxs.nl> 4. März 2016 um 12:01 \starttext \setuplistalternative [c] [filler=symbol, symbol=\hbox to .25em{\periodcentered}, symcolor=darkred, symstyle=\bf] \startsubject[title=Contents]

Re: [NTG-context] in next beta

2016-03-08 Thread Hans Hagen
On 3/7/2016 9:59 PM, Wolfgang Schuster wrote: Hans Hagen <mailto:pra...@wxs.nl> 4. März 2016 um 12:01 \starttext \setuplistalternative [c] [filler=symbol, symbol=\hbox to .25em{\periodcentered}, symcolor=darkred, symstyle=\bf] \startsubject

Re: [NTG-context] in next beta

2016-03-07 Thread Wolfgang Schuster
Hans Hagen <mailto:pra...@wxs.nl> 4. März 2016 um 12:01 \starttext \setuplistalternative [c] [filler=symbol, symbol=\hbox to .25em{\periodcentered}, symcolor=darkred, symstyle=\bf] \startsubject[title=Contents] \placelist[section][criteri

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Willi Egger
list[name]{number}{ext} does not end up in the list. — What do I >> miss? >> >> \starttext >> \startsubject[title=Contents] >> \placelist[section][criterium=all] >> \stopsubject >> >> \startsubject[title=A Paragraph as Subject] &g

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Hans Hagen
On 3/4/2016 5:37 AM, Willi Egger wrote: Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section

[NTG-context] in next beta

2016-03-04 Thread Hans Hagen
\starttext \setuplistalternative [c] [filler=symbol, symbol=\hbox to .25em{\periodcentered}, symcolor=darkred, symstyle=\bf] \startsubject[title=Contents] \placelist[section][criterium=all,alternative=c] \stopsubject

[NTG-context] \writetolist command...

2016-03-03 Thread Willi Egger
Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section][criterium=all] \stopsubject

Re: [NTG-context] \setfirstline for headings/titles ?

2015-10-29 Thread josephcanedo
}')}} \setuphead[subject][style=\tf, deeptextcommand=\MyCmd] \starttext \startsubject[title={A very very very long title for subject\\ we know will not fit in single line of output but\\ A very very very long title for subject we know will not fit\\ in single line of output}] Some text

Re: [NTG-context] \setfirstline for headings/titles ?

2015-10-28 Thread josephcanedo
Hello all, Perhaps a more meaningful example, actually I explicitly break lines Inside title text. \setuphead[subject][align=center] \starttext \startsubject[title={First title line\\ \tf eventual second line}] % second line same size as normal text Howto ? Some text here

[NTG-context] \setfirstline for headings/titles ?

2015-10-27 Thread josephcanedo
] \definefirstline[bbigline][alternative=line, style=\tfa] \starttext \startcolumnset [TwoColumns] \startsubject[title={\setfirstline[bbigline] A very very very long title for subject we know will not fit in single line of output}] % first line with different style as in the text below ? \setfirstline

Re: [NTG-context] Learning about Kerning

2015-09-16 Thread Michael Guravage
[width=6.25cm] \definefontfeature[smallcapitals] [smcp=yes] \starttext \setuphead[subject][style=\setff{smallcapitals}, textstyle={\kerncharacters[.40]}] \startsubject[title={Properties of Blood}] \stopsubject \setuphead[subject][style=\setff{smallcapitals},deeptextcommand={\kerncharacters

[NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2015-08-11 Thread Rik Kabel
to work in a footnote. \setupindenting[yes,small] \definelabel [ID][ %\defineenumeration[ID][ text=, after=, before=, headcolor=red, alternative=inright, ] \starttext \starttitle[title={Label testing}] \startsubject[title={Problems

Re: [NTG-context] \placefootnotes bug?

2015-04-10 Thread Idris Samawi Hamid ادريس سماوي حامد
when it starts is kind of not-done so this better: \setupnotation [footnote] [before=, indenting={yes,big}, after=] with \startsubject[title=Endnotes] \start \setupwhitespace[none] \placefootnotes \stop \stopsubject Thanks. But even rewriting

Re: [NTG-context] \placefootnotes bug?

2015-04-07 Thread Hans Hagen
[footnote] [before=, indenting={yes,big}, after=] with \startsubject[title=Endnotes] \start \setupwhitespace[none] \placefootnotes \stop \stopsubject - Hans

[NTG-context] \placefootnotes bug?

2015-04-05 Thread Idris Samawi Hamid ادريس سماوي حامد
\startparagraph \input ward \startfootnote \input ward \stopfootnote{} \stopparagraph \startparagraph \input ward \startfootnote \input ward \stopfootnote{} \stopparagraph \stopsection \startsubject[title=Endnotes] \placefootnotes \stopsubject \stoptext

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
doesn't work. Hi Idris, this does what you need: \setupindenting[big,yes] \startsetups[footnote:indenting] \setupindenting[big,yes] \stopsetups \setupheads[indentnext=no] \setupnote[footnote][setups=footnote:indenting] \setupnotation[footnote][indenting=yes,next] \starttext \startsubject[title

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
in advance, and Best wishes Idris \setupindenting[big,yes] \setupheads[indentnext=no] \setupnotation[footnote][command={\setupindenting[big,yes]},indenting=yes,next] \starttext \startsubject[title=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward

[NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
=no] \setupnotation[footnote][command={\setupindenting[big,yes]},indenting=yes,next] \starttext \startsubject[title=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward \input ward \stopfootnote \input ward \stopsubject \stoptext -- Idris Samawi Hamid

Re: [NTG-context] \placefootnotes at the end of each chapter, conditionally

2015-03-13 Thread Alan BRASLAU
On Thu, 12 Mar 2015 22:59:33 +0100 Hans Hagen pra...@wxs.nl wrote: Supplementary question, just for fun: how to specify title=Footnote if there is only one? \startsetups chapter:after \ifcase\rawcountervalue[footnote]\relax \or \startsubject[title=Footnote

[NTG-context] \placefootnotes at the end of each chapter, conditionally

2015-03-12 Thread Alan BRASLAU
I have a simple problem: I would like to place \startsubject[title=Footnotes] \placefootnotes \stopsubject at the end of each chapter, thus effectively before each \stopchapter BUT only if there are footnotes to be placed, i.e. I do not want to have empty Footnotes subjects appearing in my

Re: [NTG-context] \placefootnotes at the end of each chapter, conditionally

2015-03-12 Thread Hans Hagen
On 3/12/2015 8:01 PM, Alan BRASLAU wrote: I have a simple problem: I would like to place \startsubject[title=Footnotes] \placefootnotes \stopsubject at the end of each chapter, thus effectively before each \stopchapter BUT only if there are footnotes to be placed, i.e. I do not want

[NTG-context] XML, XHTML, and HTML export issue with in URL

2014-08-28 Thread Rik Kabel
with the 2014-08-27 standalone. \setupbackend[export=xmltest.xml,xhtml=xmltest.xhtml,css=export-example.css] \setupinteraction[state=start] \useURL[avecAmpersand] [http://www.mail-archive.com/search?l=ntg-context@ntg.nlq=Epub] [][klik hier] \starttext \startsubject[title=Fails in xml

Re: [NTG-context] XML, XHTML, and HTML export issue with in URL

2014-08-28 Thread Hans Hagen
] \starttext \startsubject[title=Fails in xml] \startparagraph \tex{from}: \from[avecAmpersand] \stopparagraph \startparagraph \tex{goto[url]}: \goto{klik hier}[url(http://www.mail-archive.com/search?l=ntg-context@ntg.nlq=Epub)] \stopparagraph \stopsubject

[NTG-context] sections without numbering

2014-07-13 Thread Philipp Gesang
are predefined. \setuphead [subject] [before=Kapitel~] \starttext \startsubject [title=foo] \input knuth \stopsubject \stoptext If you wish for the styles of the label and the title to match, you’ll have to assign them manually: \definealternativestyle [subjectstyle] [\italic \tfd

Re: [NTG-context] sections without numbering

2014-07-13 Thread Werner Hintze
can’t figure out how to change the chapter heading. More important: I have no idea where to find the needed information. What I want to see is for example: Kapitel: Blablabla Several unnumbered structures are predefined. \setuphead [subject] [before=Kapitel~] \starttext \startsubject [title=foo

Re: [NTG-context] Possible bug with new \start ... \stop way for title, chapter, subject, etc.?

2013-06-29 Thread Pablo Rodríguez
On 29/06/13 07:46, Andres Conrado Montoya wrote: [...] Is this a bug or a new feature that I don't understand? I don‘t know whether it’s a bug. But this works: \startsubject[title={Tufte}]% With startsubject: \input tufte\par \stopsubject It seems that the \start... commands add an extra

[NTG-context] Possible bug with new \start ... \stop way for title, chapter, subject, etc.?

2013-06-28 Thread Andres Conrado Montoya
\subject{Knuth} With subject: \input knuth\par \startsubject[title={Tufte}] With startsubject: \input tufte\par \stopsubject \stoptext % STOP MWE % ___ If your question is of interest to others

[NTG-context] Grid typesetting: aligning section to top of textarea

2013-05-13 Thread Sietse Brouwer
\showstruts %% Example text \starttext \subject{The hoard of the gibbelins} The Gibbelins eat, as is well known, nothing less good than man. \startsubject[ title={How Nyth would have worked his art upon the gnoles}, marking=How Nuth would have worked his art, ] Despite

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread Wolfgang Schuster
}} \startsubject[title=Title,command=\cmd] \input knuth \stopsubject \stoptext Can someone confirm this? You have to use “alternative=command” before you can apply a command: \define[2]\SubjectCommand {\inmargin{TEST}} \setuphead [subject] [alternative=command, command

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread reviczky
}} \startsubject[title=Title,command=\cmd] \input knuth \stopsubject \stoptext Can someone confirm this? You have to use #8220;alternative=command#8221; before you can apply a command: \define[2]\SubjectCommand {\inmargin{TEST}} \setuphead [subject] [alternative=command, command

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread Wolfgang Schuster
Am 09.12.2012 um 12:22 schrieb revic...@caesar.elte.hu: Thanks. I only apply commands for certain headings, so is there a way to have that working within the startsubject or is it not inheriting from setup heads? You can use the optional second argument for \start… to set your own arguments

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread Wolfgang Schuster
Am 09.12.2012 um 15:46 schrieb Wolfgang Schuster wolfgang.schus...@gmail.com: Am 09.12.2012 um 12:22 schrieb revic...@caesar.elte.hu: Thanks. I only apply commands for certain headings, so is there a way to have that working within the startsubject or is it not inheriting from setup

[NTG-context] setuphead command changes?

2012-12-08 Thread reviczky
Hi, The following minimal example works on live.contextgarden.net but with the latest beta the command parameter doesn't seem work (the TEST does not appear in the margin). \showframe \starttext \define[2]\cmd{\inmargin{TEST}} \startsubject[title=Title,command=\cmd] \input knuth

[NTG-context] A strange problem, probably with \startitemize[columns]

2012-07-28 Thread Marcin Borkowski
\stopitem \stopexercises \stopchapter \startchapter[title={Nim\time{20--25}}] \startsubject[title={Zasady gry}] Na trzech kupkach kładziemy kamienie (lub żetony, patyczki itp.). Gracze wykonują ruchy na przemian. Ruch polega na zabraniu dowolnej liczby kamieni (co najmniej jednego, byÄ

Re: [NTG-context] context to markdown/html

2012-05-06 Thread Idris Samawi Hamid ادريس سماوي حامد
transactions between financial resources and their users, and provide support for the real sector of the economy to convert primary resources into production for final use. \stopblockquote \input zapf \startsubject[title={References}] {\tfx \setupinterlinespace{\dontleavehmode \placepublications

Re: [NTG-context] extracting word count from a *.words file

2012-04-20 Thread Marco
\setupspellchecking [list=lorem] \startsection [title=Lorem] Lorem ipsum dolor sit \stopsection \setupspellchecking [list=stop] \startsubject [title=Statistics] Words in Foo: \wordcount [foo] Words in Lorem: \wordcount [lorem] \stopsubject \stoptext Marco

Re: [NTG-context] endnotes, imposition and recurselevel

2012-01-20 Thread Hans Hagen
endnotes and imposition to cooperate. Any help would be greatly appreciated. \showframe \doifmode{imposition} {\setuppapersize[A5,portrait][A4,landscape] \setuparranging[2UP,doublesided]} \setupfootnotes[location={text,none}] \starttext \startsubject[title=First] \dorecurse{9}{\input tufte

[NTG-context] endnotes, imposition and recurselevel

2012-01-19 Thread Michael Guravage
be greatly appreciated. \showframe \doifmode{imposition} {\setuppapersize[A5,portrait][A4,landscape] \setuparranging[2UP,doublesided]} \setupfootnotes[location={text,none}] \starttext \startsubject[title=First] \dorecurse{9}{\input tufte\footnote{The quick brown fox jumps over the lazy dog

[NTG-context] Placing a TOC at the end of a document

2011-11-20 Thread Willi Egger
Hi, hm, I should place a table of contents at the end of my document. When issuing: \startsubject[title=Inhoud] \placelist[section] \stopsubject I get the section title but no TOC When issuing only \completelist[section] I get the TOC but no section title. Do I have to setup

[NTG-context] Placing a TOC at the end of a document

2011-11-20 Thread Wolfgang Schuster
Hi, hm, I should place a table of contents at the end of my document. When issuing: \startsubject[title=Inhoud] \placelist[section] \stopsubject I get the section title but no TOC When issuing only \completelist[section] I get the TOC but no section title. Do I have to setup

Re: [NTG-context] Placing a TOC at the end of a document

2011-11-20 Thread Willi Egger
Hallo Wolfgang, thank syou so much for the immediate reply. - Both switches result in placing the content with \startsubject[] \placlist[section][criteium=all] \sotpsubject Willi On 20 Nov 2011, at 13:44, Wolfgang Schuster wrote: Hi, hm, I should place a table of contents at the end of my

Re: [NTG-context] TOC struggles

2011-08-26 Thread Taco Hoekwater
=no, headnumber=no] \starttext \startsubject[title={\bfb Suppentopf}] \placelist[section][criterium=all] \stopsubject or: \setuplist [section] [prefix=no, sectionnumber=no, headnumber=no] \definecombinedlist [MeinInhalt] [section] \starttext \startsubject[title={\bfb Suppentopf